
MKCONF_DIR = ../../mkconfig
LIBC_DIR := ../../libc

include $(MKCONF_DIR)/compile.mk

CONFIG_DIR := $(TOPDIR)/..

ifneq ($(MAKECMDGOALS),clean)
AUTOCONF_MK = $(BUILD_DIR)\autoconfig.mk
sinclude $(AUTOCONF_MK)
endif

#CONF_FILES += $(CONFIG_DIR)/configs/$(BOARD)/config.mk
CONF_FILES += $(CONFIG_DIR)/../base/model/$(BOARD)/config/config.mk

export CPPFLAGS += -I$(CONFIG_DIR)/include -I$(CONFIG_DIR)/../base/model/$(BOARD)/config \
	-I$(CONFIG_DIR)/../base/include -I$(CONFIG_DIR)/../base/include/arch/$(ARCH)

COBJS-y := asciibcd.o  bcdascii.o


include $(MKCONF_DIR)/subdir.mk
include $(MKCONF_DIR)/operation.mk

